home *** CD-ROM | disk | FTP | other *** search
- property pSpr
-
- on beginSprite me
- pSpr = sprite(me.spriteNum)
- customFont(pSpr.member)
- mUpdate(me, "Last Call")
- end
-
- on mUpdate me, newText
- pSpr.member.text = newText
- end
-
- on mouseEnter me
- global gDrinkContentSpr
- myRect = (the activeWindow).rect
- stageRect = (the stage).rect
- tipLoc = point(myRect.left - stageRect.left, myRect.bottom - stageRect.top + 5)
- if the stage <> the activeWindow then
- tell the stage
- showToolTip(sprite(me.spriteNum), #pourmeter, tipLoc, 1)
- end tell
- end if
- end
-
- on mouseLeave me
- if the stage <> the activeWindow then
- tell the stage
- hideToolTip()
- end tell
- end if
- end
-